import request from '@/utils/request'

export function loginApi(data) {
	return request({
		url: '/employee/login',
		headers: {
			isToken: false
		},
		method: 'post',
		data: data
	})
}

export function logoutApi() {
	return request({
		url: '/employee/logout',
		method: 'post',
	})
}